#!/usr/bin/python
# -*- coding: utf-8 -*-

# def product(x,y):  
#     return x*y

# def my_product(*args):
#     r = 1
#     if len(args) == 0:
#         raise TypeError('没有传入参数')
#     else:
#         for i in args:
#             if not isinstance(i,int):
#                 raise TypeError
#             else:
#                 r *= i
#     return r

# print(product(1,2))
# print()



# def gcd(x, y):
#     """求最大公约数"""
#     print(x,y)
#     (x, y) = (x, y) if x > y else (y, x)
#     print(x,y)
#     for factor in range(x, 0, -1):
#         if x % factor == 0 and y % factor == 0:
#             return factor


# def lcm(x, y):
#     """求最小公倍数"""
#     return x * y // gcd(x, y)

# print(gcd(12,10))
# print(lcm(5,6))

